﻿using mscook.core.domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace mscook.core.services
{
    public interface IBaseService<T> where T : BaseObject
    {
        T Get(string id);
        void SaveOrUpdate(T entity);
        void Update(T entity);
        bool Delete(string id);
        IList<T> SelectPageList(int start, int limit, out long total);
    }
}
